package com.sgzn.sgpay.enums;

import lombok.Getter;
import lombok.ToString;

/**
 * 系统角色枚举
 * @author zhongzhongyong
 * @version Id: MchTypeEnum.java, v 0.1 2018/5/1 16:42 zhongzhongyong Exp $$
 */
@ToString
public enum MchTypeEnum {

    MAIN_MERCHANT("0", "主商户"),
    SUB_MERCHANT("1", "子商户");

    @Getter
    private String code;

    @Getter
    private String desc;

    private MchTypeEnum(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }
}
